using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class web_deletehosonop : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        this.Title = "" + ConfigurationManager.AppSettings["centername"];
        if (Session["NTDuser"] == null)
        {
            Response.Redirect("nhatuyendung.aspx");
        }
        
        string ma_ho_so_vlt = Request.QueryString["vltid"];
        string ma_ho_so_ntv = Request.QueryString["ntvid"];

        string sql = " delete from NguoiTimViec_nop_ho_so where ma_ho_so_vlt = '" + ma_ho_so_vlt + "' and ma_ho_so_ntv = '" + ma_ho_so_ntv + "'";
        Common comm = new Common();
        comm.execNoneQuery(sql);
        Response.Redirect("nhatuyendung_danhsach_ntv_nop.aspx");

    }
}
